import 'package:oktoast/oktoast.dart';
import 'package:flutter/material.dart';


class ShowToast {
    toast(String message) {
      showToast(
          message,
          duration: Duration(seconds: 2),
          position: ToastPosition.center,
          backgroundColor: Colors.black.withOpacity(0.8),
          radius: 3.0,
          textPadding: EdgeInsets.symmetric(vertical: 6.0, horizontal: 12.0),
          textStyle: TextStyle(fontSize: 18.0),
      );
  }
}